import os 
import numpy as np
import re
import shutil
from tqdm import tqdm

allvideofilepath='E:/HAR_VIDEO/'
allvideofilepathlist=os.listdir(allvideofilepath)
allvideofilepathlist = sorted(allvideofilepathlist, key=lambda x: int(re.findall('\d+', x)[0]))

print(allvideofilepathlist)